package org.mm.xml.entities;

import org.mm.parameter.enm.Error;

public class ErrorXML {

	private String code = null;

	private String message = null;


	public ErrorXML() {
	}
	
	public ErrorXML(Error error) {
		this.code = error.code;
		this.message = error.message;
	}

	public ErrorXML(String code, String message) {
		this.code = code;
		this.message = message;
	}

	/**
	 * getCode
	 * @return code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * setCode
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * getMessage
	 * @return message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * setMessage
	 * @param message
	 */
	public void setMessage(String message) {
		this.message = message;
	}

}
